﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace ServiceLayer
{
    [DataContract]
    public class PrivilegeLevelDTO
    {
        [DataMember]
        public int Id { set; get; }

        [DataMember]
        public string Name { set; get; }

        internal PrivilegeLevelDTO(BusinessLayer.PrivilegeLevel privilegeLevel)
        {
            Id = privilegeLevel.Id;
            Name = privilegeLevel.Name;
        }
    }
}